package com.flyoil.petromp.entity.entity_course_message;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderFilesEntity;
import com.flyoil.petromp.entity.entity_order.OrderSignatureEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27 0027.
 * 物资采购计划单详情界面的实体类
 */

public class CoursePlantMessageEntity extends BaseEntity {


    /**
     * data : {"id":"类型: java.lang.Long 描述: id","sn":"类型: java.lang.String 描述: 计划编号","subject":"类型: java.lang.String 描述: 计划主题","applicantName":"类型: java.lang.String 描述: 申请人","deptName":"类型: java.lang.String 描述: 申请部门","budget":"类型: java.math.BigDecimal 描述: 费用计划","submitDateLabel":"类型: java.lang.String 描述: 申请日期","transformStatusLabel":"类型: java.lang.String 描述: 单据状态","planItems":[{"id":"类型: java.lang.Long 描述: id","materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}],"serviceItems":[{"id":0,"serviceContent":"string 服务内容","specification":"string 执行标准"}],"confirmLogs":[{"operation":"类型: com.flyoil.entity.sys.ConfirmLog$Operation 描述: 进行的操作","username":"类型: java.lang.String 描述: 操作者昵称","desc":"类型: java.lang.String 描述: 意见","nodeLabel":"类型: java.lang.String 描述: 节点","appliedTimeLabel":"类型: java.lang.String 描述: 批准时间"}],"files":[{"id":"类型: java.lang.Long 描述: id","name":"类型: java.lang.String 描述: 文件名","url":"类型: java.lang.String 描述: 访问url","previewer":"类型: java.lang.String 描述: 预览url"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 类型: java.lang.Long 描述: id
         * sn : 类型: java.lang.String 描述: 计划编号
         * subject : 类型: java.lang.String 描述: 计划主题
         * applicantName : 类型: java.lang.String 描述: 申请人
         * deptName : 类型: java.lang.String 描述: 申请部门
         * budget : 类型: java.math.BigDecimal 描述: 费用计划
         * submitDateLabel : 类型: java.lang.String 描述: 申请日期
         * transformStatusLabel : 类型: java.lang.String 描述: 单据状态
         * planItems : [{"id":"类型: java.lang.Long 描述: id","materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}]
         * serviceItems : [{"id":0,"serviceContent":"string 服务内容","specification":"string 执行标准"}]
         * confirmLogs : [{"operation":"类型: com.flyoil.entity.sys.ConfirmLog$Operation 描述: 进行的操作","username":"类型: java.lang.String 描述: 操作者昵称","desc":"类型: java.lang.String 描述: 意见","nodeLabel":"类型: java.lang.String 描述: 节点","appliedTimeLabel":"类型: java.lang.String 描述: 批准时间"}]
         * files : [{"id":"类型: java.lang.Long 描述: id","name":"类型: java.lang.String 描述: 文件名","url":"类型: java.lang.String 描述: 访问url","previewer":"类型: java.lang.String 描述: 预览url"}]
         */

        private int id;
        private String sn;
        private String subject;
        private String applicantName;
        private int applicantId;
        private String deptName;
        private String budget;
        private String submitDateLabel;
        private String transformStatusLabel;//单据流转状态：流转中、已完成、待撤销、已冻结
        private String confirmStatusLabel;//单据审核状态：待审批,已审批,已驳回待撤销,已撤销
        private List<PlanItemsBean> planItems;
        private List<ServiceItemsBean> serviceItems;
        private List<OrderSignatureEntity> confirmLogs;
        private List<OrderFilesEntity> files;

        public String getConfirmStatusLabel() {
            return confirmStatusLabel;
        }

        public void setConfirmStatusLabel(String confirmStatusLabel) {
            this.confirmStatusLabel = confirmStatusLabel;
        }

        public int getApplicantId() {
            return applicantId;
        }

        public void setApplicantId(int applicantId) {
            this.applicantId = applicantId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getApplicantName() {
            return applicantName;
        }

        public void setApplicantName(String applicantName) {
            this.applicantName = applicantName;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public String getBudget() {
            return budget;
        }

        public void setBudget(String budget) {
            this.budget = budget;
        }

        public String getSubmitDateLabel() {
            return submitDateLabel;
        }

        public void setSubmitDateLabel(String submitDateLabel) {
            this.submitDateLabel = submitDateLabel;
        }

        public String getTransformStatusLabel() {
            return transformStatusLabel;
        }

        public void setTransformStatusLabel(String transformStatusLabel) {
            this.transformStatusLabel = transformStatusLabel;
        }

        public List<PlanItemsBean> getPlanItems() {
            return planItems;
        }

        public void setPlanItems(List<PlanItemsBean> planItems) {
            this.planItems = planItems;
        }

        public List<ServiceItemsBean> getServiceItems() {
            return serviceItems;
        }

        public void setServiceItems(List<ServiceItemsBean> serviceItems) {
            this.serviceItems = serviceItems;
        }

        public List<OrderSignatureEntity> getConfirmLogs() {
            return confirmLogs;
        }

        public void setConfirmLogs(List<OrderSignatureEntity> confirmLogs) {
            this.confirmLogs = confirmLogs;
        }

        public List<OrderFilesEntity> getFiles() {
            return files;
        }

        public void setFiles(List<OrderFilesEntity> files) {
            this.files = files;
        }

        public static class PlanItemsBean {
            /**
             * id : 类型: java.lang.Long 描述: id
             * materialName : 类型: java.lang.String 描述: 物资名称
             * model : 类型: java.lang.String 描述: 规格/型号
             */

            private int id;
            private String materialName;
            private String model;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMaterialName() {
                return materialName;
            }

            public void setMaterialName(String materialName) {
                this.materialName = materialName;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }
        }

        public static class ServiceItemsBean {
            /**
             * id : 0
             * serviceContent : string 服务内容
             * specification : string 执行标准
             */

            private int id;
            private String serviceContent;
            private String specification;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getServiceContent() {
                return serviceContent;
            }

            public void setServiceContent(String serviceContent) {
                this.serviceContent = serviceContent;
            }

            public String getSpecification() {
                return specification;
            }

            public void setSpecification(String specification) {
                this.specification = specification;
            }
        }


    }
}
